package com.rivulet.doj_backend.tools;


import org.apache.commons.lang3.StringUtils;

public class FileUtils {
    public static String getWorkPath(String osType) {
        String osName = StringUtils.isEmpty(osType) ? System.getProperty("os.name").toLowerCase() : osType;
        if (osName.contains(CommandUtil.OSType)) {
            return "D:\\doj_workspace";
        } else {
            return "/usr/local/rivulet/doj_workspace";
        }
    }
}
